package com.project.easy.common.framework.captcha.core;

import com.project.easy.common.framework.captcha.core.vo.CaptchResultVo;

/**
 * @author GreatorMan.cool
 * @copyright: Copyright (c) 2020
 * @company: 扬起科技有限公司
 * @date 2021/11/21 22:37
 * @description:持久化验证编码
 */
public interface IPersistenceCaptcha {
    /***
     * 持久化
      * @param param 验证编码对象
     * @return 返回是否持久化成功
     */
  Boolean  save(CaptchResultVo param);
    /**
     * @param captchaKey 验证编码KEY
     * @return 返回数据
     */
  CaptchResultVo  query(String captchaKey);

}
